|
1. | To get a Break |
| 时来运转 |
|
|
| |
2. | If not for the break outer statement, there would be no way to get out of the outer loop from within |
| 如果没有break outer语句,就没有办法在一个内部循环里找到出外部循环的路径。 这是由于break本身只能中断最内层的循环(对于continue同样如此)。 |
|
|
| |
3. | Cannot BREAK, CONTINUE or EXIT out of a FINALLY clause |
| 超出FINALLY子句的范围,不能使用BREAK,CONTINUE或EXIT语句 |
|
|
| |
4. | Break statement |
| Break语句 |
|
|
| |
5. | Note the last statement, following the default, doesn't have a break because the execution just falls |
| 注意最后的default语句没有break,因为执行流程已到了break的跳转目的地。 |
|
|
| |
6. | BREAK or CONTINUE outside of loop |
| BREAK或CONTINUE超出循环 |
|
|
| |
7. | Break applies especially to a rest during the working day or at school |
| break尤用作工间或课间的休息 |
|
|
| |
8. | However, inside the loop there is a break statement that will break out of the loop. |
| 然而,循环内部有一个break语句,可中止循环。 |
|
|
| |
9. | If it is missing, the code for the following case statements execute until a break is encountered. |
| 若省略break,会继续执行后面的case语句的代码,直到遇到一个break为止。 |
|
|
| |
10. | break; // ... default: statement; |
| break;//..default:语句; |
|
|
| |